body, ul, li, ol, p, span, i, input, img, textarea, button, iframe, h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0%);  //iso上点击某一元素会出现半透明灰色背景
}
body {
  height: 100vh;
  // "Hiragino Sans GB", "PingFangSC-Light"都是苹果字体
  font-family: "Hiragino Sans GB", "PingFangSC-Light", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4286;
  color: $content;
  -webkit-overflow-scrolling: touch; //控制在移动设备上是否使用回弹效果
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section,
summary,
time,
mark,
audio,
video,
path,
select,
option {
  display: block;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0%);
}
input, textarea, keygen, select, button {
  font-family: "Hiragino Sans GB", "PingFangSC-Light", "Microsoft YaHei", Arial, sans-serif;
}
textarea { resize: none; }
i, address { font-style: normal; }
ol, ul { list-style: none; }
a {
  color: inherit;
  text-decoration: none;
  // cursor: pointer;
  // &:hover { color: $theme; }
}
input:focus, textarea:focus, button, select {
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0%);
}
img { display: block; }

/* 布局 */
.clearfix { @include clearfix; }
.fl { float: left; }
.fr { float: right; }
.center { @extend %center; }
.ovh { overflow: hidden; }
.hide { display: none !important; }
.show { display: block !important; }
.cover { @extend %cover; }
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.clamp { @include clamp; }
.mc { margin: 0 auto; }
.tac { text-align: center; }
.tal { text-align: left; }
.tar { text-align: right; }
.lh24 { line-height: 24px; }
.lh36 { line-height: 36px; }

/* 宽度 */
.w10 { width: 10%; }
.w20 { width: 20%; }
.w25 { width: 25%; }
.w33 { width: calc(100% / 3); }
.w50 { width: 50%; }
.w80 { width: 80%; }
.w100 { width: 100%; }

/* 边距 */
.m5 { margin: 5px; }
.m10 { margin: 10px; }
.m20 { margin: 20px; }
.ml5 { margin-left: 5px; }
.ml10 { margin-left: 10px; }
.ml20 { margin-left: 20px; }
.mr5 { margin-right: 5px; }
.mr8 { margin-right: 8px; }
.mr10 { margin-right: 10px; }
.mr16 { margin-right: 16px; }
.mr20 { margin-right: 20px; }
.mr24 { margin-right: 24px; }
.mt0 { margin-top: 0; }
.mt5 { margin-top: 5px; }
.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }
.mb5 { margin-bottom: 5px; }
.mb10 { margin-bottom: 10px; }
.mb16 { margin-bottom: 16px; }
.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }
.p5 { padding: 5px; }
.p10 { padding: 10px; }
.p20 { padding: 20px; }
.p30 { padding: 30px; }
.pl5 { padding-left: 5px; }
.pl10 { padding-left: 10px; }
.pl20 { padding-left: 20px; }
.pr5 { padding-right: 5px; }
.pr10 { padding-right: 10px; }
.pr20 { padding-right: 20px; }
.pt5 { padding-top: 5px; }
.pt10 { padding-top: 10px; }
.pt20 { padding-top: 20px; }
.pb5 { padding-bottom: 5px; }
.pb10 { padding-bottom: 10px; }
.pb20 { padding-bottom: 20px; }

/* 字体 */
h1, h2, h3 { font-weight: 400; }
h4, h5, h6 { font-weight: 700; }
h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3, .ft18 { font-size: 18px; }
h4, .ft16 { font-size: 16px; }
h5, .ft14 { font-size: 14px; }
h6, .ft12 { font-size: 12px; }
.text-success { color: $success; }
.text-warning { color: $warning; }
.text-error { color: $error; }
.text-sub { color: $subColor; }
.text-gray { color: $disabled; }

.page-table-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 24px 0 4px;
}

// elementui 的tabs组件自动高亮出现蓝色边框问题
.el-tabs__item:focus.is-active.is-focus:not(:active) {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.el-dialog__header {
  text-align: center;
}

// 提示文字
.common-tips {
  font-size: 12px;
  color: #7a7575;
  i {
    margin-right: 4px;
  }
}

.highlight {
  display: inline-block !important;
  color: $theme !important;
  background: transparent !important;
}
